package com.mallcloud.mall.product.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mallcloud.mall.common.core.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

@ApiModel(value = "ShopDetailModel", description = "店铺详情")
@Data
@TableName(value = "P_SHOP_DETAIL", autoResultMap = true)
public class ShopDetailModel extends BaseModel {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "店铺简介")
    private String intro;

    @ApiModelProperty(value = "店铺logo(可修改)")
    private String shopLogo;

    @ApiModelProperty(value = "店铺移动端背景图")
    private String mobileBackgroundPic;

    @ApiModelProperty(value = "店铺状态(0: 停业中 1:营业中)")
    private Boolean shopStatus;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @ApiModelProperty(value = "身份证正面")
    private String identityCardFront;

    @ApiModelProperty(value = "身份证反面")
    private String identityCardLater;

    @ApiModelProperty(value = "店铺类型1自营店 2普通店")
    private Integer shopType;
}
